package com.zhouyu.service;

import com.zhouyu.spring.ZhouyuApplicationContext;

public class Test {
    public static void main(String[] args) {

        ZhouyuApplicationContext applicationContext = new ZhouyuApplicationContext(AppConfig.class);

        Userservice userservice = (Userservice) applicationContext.getBean("userService");

        userservice.test();


    }
}